package com.sakura.mall.product.categoryBrandRelation.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.categoryBrandRelation.domain.entity.CategoryBrandRelationEntity;
import com.sakura.mall.product.categoryBrandRelation.domain.request.AddCategoryBrandRelationRequest;
import com.sakura.mall.product.categoryBrandRelation.domain.request.UpdateCategoryBrandRelationRequest;
import com.sakura.mall.product.categoryBrandRelation.domain.request.CategoryBrandRelationPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.categoryBrandRelation.domain.vo.CategoryBrandRelationVo;

/**
 * 品牌分类关联 service
 *
 * @author sakura
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<CategoryBrandRelationVo> queryPage(CategoryBrandRelationPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddCategoryBrandRelationRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateCategoryBrandRelationRequest request);
}
